package com.ziyun.pop.mall.module.user.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * pop平台用户账号表
 * 
 * @author : hu.song
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pop_sys_user")
public class PopSysUser {
	
	@TableId(value = "user_id", type = IdType.AUTO)
	private Integer userId;

	/** 商户买家id */
	private Long mallUserId;
	
	/** 商户id */
	private Integer sellerId;

	/** 商户类型 */
	private Integer merchantType;

	/** 登录帐号 */
	private String username;
		
	/** erp登录密码  */
	private String password;

	/** 盐 */
	private String salt;
	
	/**邮箱 */
	private String email;
	
	/**手机号 */
	private String mobile;
	
	/**状态  0：禁用   1：正常 */
	private Integer status;
	
	/**部门ID*/
	private Integer deptId;
	
}
